﻿using MessagePack;

namespace Service.Model
{
    /// <summary>
    /// 证书同步配置
    /// </summary>
    [MessagePackObject]
    public class CertHandOutConfig
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Key(0)]
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 插件唯一标识
        /// </summary>
        [Key(1)]
        public string PluginIdentity { get; set; } = string.Empty;
        /// <summary>
        /// 配置项
        /// </summary>
        [Key(2)]
        public List<ConfigItem> ConfigItems { get; set; }
        /// <summary>
        /// 插件需要用到的配置
        /// </summary>
        [Key(3)]
        public Dictionary<string, string> Config { get; set; } = new Dictionary<string, string>();
    }

}
